﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Backstage.TheRules
{
    /// <summary>
    /// BS_ReflectRule
    /// </summary>
    [Table("BS_ReflectRule")]
    public class BS_ReflectRule
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// Note
        /// </summary>
        public String Note { get; set; }

        /// <summary>
        /// 最小体现金额
        /// </summary>
        public Decimal ReflectMinMoney { get; set; } = 1;

        /// <summary>
        /// 每日最大体现金额（默认无）
        /// </summary>
        public Decimal ReflectMoney { get; set; }

        /// <summary>
        /// 体现延迟天数
        /// </summary>
        public Int32 ReflectDay { get; set; } = 30;

    }
}